package com.alen.sun.service;

import com.alen.sun.bean.Activity;
import com.alen.sun.bean.PageBean;

import java.util.List;

public interface ActivityService {
    //添加活动
    Boolean addActivity(Activity activity);

    //修改活动
    Boolean updateActivity(Activity activity);

    //删除活动
    Boolean deleteActivity(Activity activity);

    //分页查询活动
    PageBean page(Integer page, Integer pageSize);

    //批量删除活动
    Boolean deleteByIds(List<String> ids);
}
